package com.zj.healthmanage.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.zj.healthmanage.pojo.Psychologicalassessmentlibrary;
import com.zj.healthmanage.mapper.PsychologicalassessmentlibraryMapper;
import com.zj.healthmanage.service.PsychologicalassessmentlibraryService;
@Service
public class PsychologicalassessmentlibraryServiceImpl implements PsychologicalassessmentlibraryService{

    @Resource
    private PsychologicalassessmentlibraryMapper psychologicalassessmentlibraryMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return psychologicalassessmentlibraryMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Psychologicalassessmentlibrary record) {
        return psychologicalassessmentlibraryMapper.insert(record);
    }

    @Override
    public int insertSelective(Psychologicalassessmentlibrary record) {
        return psychologicalassessmentlibraryMapper.insertSelective(record);
    }

    @Override
    public Psychologicalassessmentlibrary selectByPrimaryKey(Integer id) {
        return psychologicalassessmentlibraryMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Psychologicalassessmentlibrary record) {
        return psychologicalassessmentlibraryMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Psychologicalassessmentlibrary record) {
        return psychologicalassessmentlibraryMapper.updateByPrimaryKey(record);
    }

}
